Skip to content

Conversation

DoumanAsh
Copy link
Contributor

@DoumanAsh DoumanAsh commented Jun 24, 2022

Subj
This PR corrects extraction of locale information
Originally code would include delimiter inside country code, encoding or modifier.
This PR intentionally excludes these delimiters now, making flutter-pi to initialize flutter locale information without them correctly
I also added printing of locale during startup, it would be helpful to identify it for user instead of debugging :)

P.s. This only affects applications that rely on system locale information (e.g. easy_localization which uses system locale as default)

@ardera ardera merged commit bb97f56 into ardera:master Jun 28, 2022
@ardera
Copy link
Owner

ardera commented Jun 28, 2022

Thanks! I think logging the locale information on startup is a good idea.

@DoumanAsh DoumanAsh deleted the fix_flutter_locale branch June 28, 2022 09:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants